﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HtmlAgilityPack;

namespace LingDong.HtmlParser
{
    public class PageQuality
    {
        public static double GetPageRank(string url, string html)
        {
            HtmlDocument doc = new HtmlDocument();
            doc.LoadHtml(html);

            double rank = 0.0;

            // webpage content length
            string content = HtmlContent.GetHtmlContent(doc);


            return rank;
        }
    }
}
